package com.myhome.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @Author QYiXin
 * @Date 2021 10 11 14 58
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("接受的角色信息")
public class RolePrivilegesParam {
    @ApiModelProperty("角色id")
    private Long roleId;
    @ApiModelProperty("权限id")
    private List<Long> privilegeIds = Collections.emptyList();
}
